using System;
using System.Data;
using System.Configuration;
using System.Collections;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;

namespace webapp4U.UI.Controls
{
    public partial class TitleMaster : System.Web.UI.UserControl
    {
        public string _resourceKey = "";

        public string ResourceKey
        {
            get { return _resourceKey; }
            set { _resourceKey = value; }
        }

        public string _strMsg = "";

        public string strMsg
        {
            get { return _strMsg; }
            set { _strMsg = value; }
        }



        protected void Page_Load(object sender, EventArgs e)
        {
            if (strMsg.Length > 1)
            {
                lblTitle.Text = strMsg;
            }
            else
            {
                //lblTitle.Text = (String)GetGlobalResourceObject("WebMaster", ResourceKey);
                lblTitle.Text = ResourceManager.GetString(ResourceKey);
            }
        }


    }
}